<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="/interceptor.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@page isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人信息</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function editor(){
		window.location.href="user_editor.jsp";
	}
</script>
</head>

<body>
<%-- <%@ include file="login_check.jsp" %> --%>

<form id="myForm" name="myForm" >
	<div class="action">
		<div class="t">
			个人信息
		</div>
		<div class="pages">
			<table width="90%" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px">
				<tr >
					<td align="right" width="30%">昵称：</td>
                    <td  align="left"><input type="text" name="nickname" value="${sessionScope.user.nickName}" readonly="readonly" id="nickname"/></td>
				</tr>
				<tr >
					<td align="right" width="30%">年龄：</td>
                    <td  align="left"><input type="text" name="u.age" value="${sessionScope.user.age}" readonly="readonly" id="age"/></td>
				</tr>
				<tr >
					<td align="right" width="30%">性别：</td>
                    <td  align="left"><input type="text" name="" value="${sessionScope.user.sex}" readonly="readonly" id=""/></td>
				</tr>
				<tr >
					<td align="right" width="30%">手机：</td>
                    <td  align="left"><input type="text" name="u.mobile" value="${sessionScope.user.telephone}" readonly="readonly" id="u_mobile"/></td>
				</tr>
				<tr >
					<td align="right" width="30%">地址：</td>
                    <td  align="left"><input type="text" name="u.address" value="${sessionScope.user.address}" readonly="readonly" id="u_address"/></td>
				</tr>
				<tr >
					<td colspan="2"><font color="red">${message }</font></td>
				</tr>
				<tr >
					<td align="center" colspan="2"><br/><input type="button"  id="save" value="修改信息" onclick="editor();" /></td>
				</tr>
			</table>			
		</div>
	</div>
</form>
</body>
</html>